-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swarm / rcmgr: synchronize the concurrent outbound dials with limits #1898
Conversation
0b7bfc7
to
65a2a55
Compare
65a2a55
to
92d131b
Compare
Oh I see what you meant. This PR didn't build on the quic-v1 branch so there was no point in targeting that branch. I just defaulted to stacking it since it came from that branch, but I should have just based this on master from the start. |
54432e3
to
aef3657
Compare
@marten-seemann and I talked about this and agreed to bump the limit up to 8 for now. This will be handled better when we have smart dialing. |
@@ -492,7 +492,7 @@ var DefaultLimits = ScalingLimitConfig{ | |||
}, | |||
|
|||
PeerBaseLimit: BaseLimit{ | |||
ConnsInbound: 4, | |||
ConnsInbound: 8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment explaining why this is 8 for now, and that smart dialing will allow us to reduce this back to 4?
We see flakiness in CI because a client will dial with concurrency 8 but the limit on the server is 4 so we get rcmgr failures. We notice this when we have a lot of addrs to dial.
Fixes #1816
Fixes #1765
Fixes #1730
Fixes #1668
(will rebase to master after #1881 is merged)